import request from '@/utils/request'

export function getNoticeList(params) {
  return request({
    url: '/merchant/api/v1/notice',
    method: 'get',
    params
  })
}
export function getNoticeDetails(id) {
  return request({
    url: `/merchant/api/v1/notice/${id}`,
    method: 'get'
  })
}

